﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsServicesByGetRoleInfo
{
    public class Result
    {
        /// <summary>
        ///  true or false
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 反馈信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 数据集合
        /// </summary>
        public List<RoleInfo> Data { get; set; }
    }

    public class RoleInfo
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public int SysRolesID { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RolesName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ModifyDate { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public int Enable { get; set; }
    }
}
